export default [
    {
        key: 'key',
        title: '客户姓名、申请编号',
        type: 'text',
        require: false,
        readOnly: false,
        // // align: 'center',
        placeholder: '客户姓名、申请编号',
        columnShow: true,
    },
    {
        key: 'applyNo',
        title: '申请编号',
        type: 'text',
        minWidth: 120,
        placeholder: '请输入',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'custName',
        title: '姓名',
        type: 'text',
        minWidth:100,
        placeholder: '请输入',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'businessType',
        title: '业务类型',
        type: 'singleSelect',
        dicKey: 'businessType',
        dicData: [],
        placeholder: '请选择',
        minWidth:100,
        // align: 'center',
        columnShow: true
    },
    {
        key: 'applyDateStart',
        title: '申请日期起',
        type: 'date',
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'applyDateEnd',
        title: '申请日期止',
        type: 'date',
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'operateWay',
        title: '运营方式',
        type: 'singleSelect',
        dicKey: 'operateWay',
        dicData: [],
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'carType',
        title: '车辆类型',
        type: 'singleSelect',
        dicKey: 'carType',
        dicData: [],
        minWidth:110,
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'carNature',
        title: '车辆属性',
        type: 'singleSelect',
        dicKey: 'carNature',
        dicData: [],
        minWidth:100,
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'loanTerm',
        title: '贷期',
        minWidth:100,
        // align: 'center',
        columnShow: true
    },
    {
        key: 'loanAmt',
        title: '贷款金额',
        minWidth:140,
        // align: 'center',
        columnShow: true
    },
    {
        key: 'carVin',
        title: 'VIN号',
        minWidth:200,
        // align: 'center',
        columnShow: true
    },
    {
        key: 'gpsStatus',
        title: 'GPS状态',
        type: 'singleSelect',
        dicKey: 'gpsStatus',
        dicData: [],
        minWidth:100,
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    //订单状态
    {
        key: 'contractApplyStatus',
        title: '订单状态',
        type: 'singleSelect',
        dicKey: 'contractStatus',
        dicData: [],
        minWidth:100,
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'affiliatedWay',
        title: '挂靠方式',
        type: 'singleSelect',
        dicKey: 'affiliatedWay',
        dicData: [],
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'riskPassDate',
        title: '核准时间',
        type: 'date',
        sortable: true,
        sortMethod: function (a, b, type) {
            if (type == 'asc') {
                return a > b ? -1 : 1
            } else if (type == 'desc') {
                return a < b ? -1 : 1
            }
        },
        // align: 'center',
        columnShow: true
    },
    //create_time
    {
        key: 'lendingFirstDate',
        title: '放款提交时间',
        type: 'date',
        sortable: true,
        sortMethod: function (a, b, type) {
            if (type == 'asc') {
                return a > b ? -1 : 1
            } else if (type == 'desc') {
                return a < b ? -1 : 1
            }
        },
        minWidth: 150,
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    //start_date
    {
        key: 'startDate',
        title: '合同激活时间',
        type: 'date',
        sortable: true,
        minWidth: 150,
        sortMethod: function (a, b, type) {
            if (type == 'asc') {
                return a > b ? -1 : 1
            } else if (type == 'desc') {
                return a < b ? -1 : 1
            }
        },
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    //gps_status
    {
        key: 'applyStatus',
        title: '订单状态',
        type: 'singleSelect',
        dicKey: 'applyStatus',
        dicData: [],
        minWidth:100,
        placeholder: '请选择',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'backReason',
        title: '撤回理由',
        type: 'singleSelect',
        dicKey: 'backReasonList',
        dicData: [],
        require: true,
        readOnly: false,
        placeholder: '请输入',
        width: 400,
        // align: 'center',
        columnShow: true
    },
    {
        key: 'user',
        title: '登入账号',
        type: 'text',
        require: false,
        readOnly: false,
        placeholder: '请输入',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'userName',
        title: '用户名字',
        type: 'text',
        placeholder: '请输入',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'roleName',
        title: '角色名称',
        type: 'text',
        placeholder: '请输入',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'createBy',
        title: '操作人员',
        type: 'text',
        minWidth: 120,
        placeholder: '请输入',
        // align: 'center',
        columnShow: false
    },
    {
        key: 'realName',
        title: '操作人员',
        type: 'text',
        minWidth: 120,
        placeholder: '请输入',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'username',
        title: '账号',
        type: 'text',
        require: false,
        readOnly: false,
        placeholder: '请输入',
        // align: 'center',
        columnShow: true
    },
    {
        key: 'userRealName',
        title: '姓名',
        type: 'text',
        require: false,
        readOnly: false,
        placeholder: '请输入',
        columnShow: true
    },
    {
        key: 'phone',
        title: '手机号码',
        type: 'text',
        require: false,
        readOnly: false,
        placeholder: '请输入',
        columnShow: true
    },
    {
        key: 'action',
        title: '操作',
        align: 'center',
        width: 100,
        fixed: "right",
        columnShow: true
    }
]


